﻿@model IEnumerable<MediaAdmin.Controllers.LocatorController.DownloadModel>

@{
    ViewBag.Title = "Download asset files";
}

<h2>Download asset files</h2>

@foreach (var item in Model) {
    
    if (item.File.EndsWith(".jpg"))
    {
        <a href="@item.Url"><img src="@item.Url" /></a>
    }else
    {
        <a href="@item.Url">@item.File</a>
    }
}

